package com.jingsai.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingsai.POJO.Common.ScoreHistory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface ScoreHistoryMapper extends BaseMapper<ScoreHistory> {
    @Update("update score_history set istrue_easy = #{IstrueEasy} ,istrue_hard = #{IstrueHard} where user_info=#{UserInfo} and submit_time=#{SubmitTime}")
    void update(ScoreHistory sh);
}
